@import "@/theme/variable.scss";

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scrollbar-width: thin ;          
}
*::selection{
  background-color: $primaryColor;
  color: white;
}
html,body{
  width: 100%;
  height: 100%;
  min-width: 860px;
  
}
// 滚动条容器样式
::-webkit-scrollbar {   
  width:6px;
  height: 6px;
  background-color: white;
}		
// 滚动条滑轨滑轨 
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.2); 
  -webkit-border-radius: 6px;
  border-radius: 6px;
  
}		
// 滚动条滑块样式
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 100px;
   border-radius: 100px;
   background: rgba(153,153,153,0.3) !important;
   -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); 			  
 }


::-webkit-scrollbar-thumb:hover {
    background-color:  rgba(153,153,153,0.6);;
}

#app {
  width: 100%;
  height: 100%;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

// 进度条背景色修改
#nprogress .bar{
  background-color:$primaryColor !important;
}

.leafTextColor{
  color: $primaryColor;
  //background-color: rgba(0,128,0,.1);
}


.page-enter-from{       /* 进入，起点时的状态 */     
  opacity: 0;
}
.page-enter-active{   /* 进入的过程 */
  transition:.5s linear
}
.page-enter-to{      /*进入，终点时的状态 */
    opacity: 1;
}
.page-leave-from{          /* 离开，起点时的状态 */
  opacity: 1;
}
.page-leave-active{   /* 离开的过程 */
    transition:.5s linear
}
.page-leave-to{       /*离开，终点时的状态 */
  opacity: 0;
}


// el-button禁用按钮样式修改
.el-button.is-disabled,
.el-button.is-disabled:hover,
.el-button.is-disabled:focus
{
  background-color: #f5f5f5 !important;
  border-color: #f5f5f5;
  color: rgb(171, 170, 170);
}

// 表格上面的工具栏
.my-table-tool {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .tool-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .tool-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
}






